package com.cx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class FilmeController {
        // 影片详情页
        @GetMapping("/detail/{type}/{path}")
        public String toDetail(@PathVariable("type")String type,
                               @PathVariable("path")String path) {
            return "detail/"+type+"/"+path; }

}
